package vh.sphynx.runtime.pattern;

import java.util.Map;


public interface ITextLocator  {

	public static final int OPT_DEFAULT = 0;
	public static final int OPT_INCLUSIVE = 1;
	public static final int OPT_EXCLUSIVE = 2;
		
	int locate(CharSequence input, int startIdx, String pattern, int patternFlag, int operator, boolean lastPostOnUnmatch, Map<String, Integer> groups);

	int getLength();
}
